from django.db import models
from django.contrib.comments.models import Comment
from django.contrib.contenttypes import generic
from piraterating.models import Rating
from piratevoting.models import Voting

#The standard comment can be applied in a relationship with other objects through contenttypes
class CustomComment(Comment):
	rating = generic.GenericRelation(Rating)
	votes = generic.GenericRelation(Vote)
    
	
	
